﻿namespace PLCSharp.IEC61131_3
{
    public struct LREAL
    {
        private double value;

        public static implicit operator double(LREAL i)
        {
            return i.value;
        }

        public static implicit operator LREAL(double s)
        {
            LREAL o = new()
            {
                value = s
            };
            return o;
        }
    }
}